/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package imp.reciever.process;

/**
 *
 * @author julian.pena
 */
public class ExecuteSH extends ProcessReciever{

    private String path;

    public ExecuteSH(String path) {
        super(null, null);
        this.path = path;
    }

    
    @Override
    public void action() throws Exception {
        Runtime.getRuntime().exec("/bin/sh " + path);
    }

    @Override
    public boolean isInputReady() {
        return true;
    }

    @Override
    public boolean isOutputReady() {
        return true;
    }
    
}
